ladybird/Userland/Applications/Spreadsheet
Andreas Kling 65717e3b75 LibJS: Inline fast case for Value::to_{boolean,number,numeric,primitive}
These functions all have a very common case that can be dealt with a
very simple inline check, often avoiding the need to call an out-of-line
function. This patch moves the common case to inline functions in a new
ValueInlines.h header (necessary due to header dependency issues..)

8% speed-up on the entire Kraken benchmark :^)
2023-10-07 07:13:52 +02:00
..
CellType LibJS: Inline fast case for Value::to_{boolean,number,numeric,primitive} 2023-10-07 07:13:52 +02:00
Readers LibCore: Rename File to DeprecatedFile 2023-02-13 00:50:07 +00:00
Tests Spreadsheet: Throw if lookup value doesn't exist and no default is given 2022-06-26 22:21:17 +01:00
Writers AK: Rename Stream::write_entire_buffer to Stream::write_until_depleted 2023-03-13 15:16:20 +00:00
Cell.cpp LibJS: Inline fast case for Value::to_{boolean,number,numeric,primitive} 2023-10-07 07:13:52 +02:00
Cell.h Spreadsheet: Add CellChange constructor for changes in type metadata 2023-04-29 12:09:08 +01:00
CellSyntaxHighlighter.cpp LibJS: Make Error stack traces lazier 2023-05-28 10:03:11 +02:00
CellSyntaxHighlighter.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
CellTypeDialog.cpp Spreadsheet: Make cell metadata hint return String 2023-10-06 08:20:11 +02:00
CellTypeDialog.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
CMakeLists.txt Meta: Rename compile_gml to stringify_gml 2023-08-11 21:33:48 +02:00
CondFormatting.gml Spreadsheet: Make conditional-formatting condition-list scrollable 2022-06-30 11:53:50 +02:00
ConditionalFormatting.h Everywhere: Stop using NonnullRefPtrVector 2023-03-06 23:46:35 +01:00
CondView.gml Spreadsheet: Use new layout system 2022-06-30 11:51:25 +02:00
csv_export.gml Userland: Replace empty GUI::Widgets in GML with GUI::Layout::Spacer 2022-09-29 08:31:15 -04:00
csv_import.gml Userland: Replace empty GUI::Widgets in GML with GUI::Layout::Spacer 2022-09-29 08:31:15 -04:00
ExportDialog.cpp Applications+Demos+LibGUI: Migrate to fallible WizardDialogs and Pages 2023-06-09 17:21:43 +02:00
ExportDialog.h Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00
Forward.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HelpWindow.cpp Userland: Make Window::set_main_widget() non-fallible 2023-09-21 10:20:23 +02:00
HelpWindow.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
ImportDialog.cpp AK: Make "foo"_string infallible 2023-08-07 16:03:27 +02:00
ImportDialog.h Everywhere: Stop using NonnullRefPtrVector 2023-03-06 23:46:35 +01:00
JSIntegration.cpp LibJS: Inline fast case for Value::to_{boolean,number,numeric,primitive} 2023-10-07 07:13:52 +02:00
JSIntegration.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
main.cpp Userland: Remember window state of productivity / editor applications 2023-09-24 20:00:00 -06:00
Position.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
select_format_page.gml Userland: Replace empty GUI::Widgets in GML with GUI::Layout::Spacer 2022-09-29 08:31:15 -04:00
Spreadsheet.cpp AK: Port URL::m_fragment from DeprecatedString to String 2023-08-13 15:03:53 -06:00
Spreadsheet.h LibJS: Rip out the AST interpreter :^) 2023-08-08 13:07:13 +02:00
SpreadsheetModel.cpp Userland: Store MIME keys as String in Core::MimeData 2023-09-29 14:40:21 +01:00
SpreadsheetModel.h LibGUI+Userland: Propagate errors in Model::column_name() 2023-06-14 17:53:59 +02:00
SpreadsheetView.cpp Userland: Port remaining calls to Widget::set_tooltip_deprecated() 2023-10-06 08:20:11 +02:00
SpreadsheetView.h Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
SpreadsheetWidget.cpp Userland: Use nondeprecated set_tooltip for static and formatted strings 2023-10-06 08:20:11 +02:00
SpreadsheetWidget.h Spreadsheet: Propagate errors from SpreadsheetWidget::initialize_menubar 2023-04-03 21:16:26 +02:00
Workbook.cpp LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
Workbook.h Spreadsheet: Use the LibJS bytecode VM 2023-08-08 13:07:13 +02:00