dfhack/plugins
myk002 9b416a8662
speed up dig blueprint creation by 70%
remove the unneeded cache layer. the cache is for writing. we're just
reading. all the cache is doing is adding latency as it makes its copies
of map data structures.

generating a 190x190x100 dig blueprint:
before change: 1.7s
after change:  1.0s

the performance gains aren't as important here as the reduced complexity
of the algorithm, though. for reasonably-sized blueprints, the time
savings are unnoticeable.
2021-04-27 09:19:30 -07:00
..
devel tagged union support for lua (#1818) 2021-03-30 15:55:06 -05:00
diggingInvaders Update structures, fix reaction_productst::produce() parms 2020-06-23 13:31:27 -06:00
embark-assistant Prevent accidental double-frees 2021-02-20 22:43:12 +01:00
isoworld@e3c49ab017 Update stonesense, isoworld 2020-02-21 08:27:57 -05:00
labormanager Fix road building (#1596) 2020-08-08 14:46:42 -04:00
lua buildingplan: fix size calculation for constructions 2021-04-01 00:16:54 -04:00
proto Reorder .proto comments 2020-07-18 12:48:20 -04:00
raw Cover artifacts at greasing station 2020-11-28 18:08:04 +00:00
remotefortressreader Silence some warnings from GCC 10 2020-12-30 00:04:49 -05:00
rendermax rendermax: move to std::mutex 2020-05-04 18:38:54 -04:00
ruby Ruby: add _indexenum wrapper to OtherVectors for compat with devel/scanitemsother 2020-07-26 23:11:04 -04:00
skeleton Merge branch 'develop' into cmake-cleanup 2019-08-23 23:58:00 -04:00
stockpiles Prevent stockpiles hotkey label from overlapping with autodump 2021-01-30 21:14:45 -05:00
stonesense@cd387d9e4b Update stonesense, scripts 2021-03-11 00:00:49 -05:00
tweak tweak hide-priority: make toggle state persist across designation menu uses 2021-04-05 21:58:51 -04:00
.keep Making ready for adding plugins. Fixes all over the place, more removal of obsolete parts. 2011-06-20 01:12:07 +02:00
3dveins.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
Brushes.h Allow canceling lineedit with ctrl+c 2018-07-04 15:21:25 +03:00
CMakeLists.txt detect buildingplan buildings in the resume plugin 2020-11-13 12:43:46 -08:00
Plugins.cmake Merge branch 'develop' into cmake-cleanup 2019-07-20 19:22:33 -04:00
add-spatter.cpp Update structures, fix reaction_productst::produce() parms 2020-06-23 13:31:27 -06:00
advtools.cpp dead flag -> !isActive 2018-06-14 12:29:48 +02:00
autochop.cpp update for DFHack/df-structures#7dfea1f1d4e453b97d5529785701db46360596ce 2020-06-29 16:16:44 -05:00
autoclothing.cpp autoclothing: add docs 2019-11-02 22:00:43 -04:00
autodump.cpp Fix periodic events in several plugins 2018-05-29 23:24:02 -04:00
autofarm.cpp factor out functions to get plant names and set individual farms 2021-01-13 08:55:48 +01:00
autogems.cpp autogems: check bin content in linked stockpiles 2020-04-12 11:02:26 +02:00
autohauler.cpp Fix plugin name in error, add link in docs 2021-02-25 00:41:13 -05:00
autolabor.cpp Remove and replace checks for OnBreak 2018-11-24 14:52:26 -05:00
automaterial.cpp fix typo in comment 2020-10-29 11:53:31 -07:00
automelt.cpp Fix periodic events in several plugins 2018-05-29 23:24:02 -04:00
autotrade.cpp Fix periodic events in several plugins 2018-05-29 23:24:02 -04:00
blueprint.cpp speed up dig blueprint creation by 70% 2021-04-27 09:19:30 -07:00
building-hacks.cpp Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
buildingplan-lib.cpp prep buildingplan for core algorithm changes 2020-10-16 13:52:23 -07:00
buildingplan-lib.h prep buildingplan for core algorithm changes 2020-10-16 13:52:23 -07:00
buildingplan-planner.cpp cleaner mask-based implementation 2020-11-12 22:44:38 -08:00
buildingplan-planner.h persist global buildingplan settings 2020-10-25 02:37:22 -07:00
buildingplan-rooms.cpp reorganize buildingplan code - no logic changes 2020-09-08 00:17:56 -07:00
buildingplan-rooms.h reorganize buildingplan code - no logic changes 2020-09-08 00:17:56 -07:00
buildingplan.cpp fix merge error 2021-01-24 09:19:01 -08:00
burrows.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
changeitem.cpp Fix whitespace issues 2015-02-14 22:53:06 -05:00
changelayer.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
changevein.cpp Replace many includes with forward declarations in modules/Maps.h 2016-08-13 21:44:01 -04:00
cleanconst.cpp Update some plugins to use REQUIRE_GLOBAL 2014-12-03 23:26:54 -05:00
cleaners.cpp Replace many includes with forward declarations in modules/Maps.h 2016-08-13 21:44:01 -04:00
cleanowned.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
command-prompt.cpp Ensure that command-prompt is dismissed after a command creates a new screen 2021-03-21 20:42:50 -04:00
confirm.cpp Add confirmation for convicting dwarves of crimes 2020-06-20 12:06:50 -04:00
createitem.cpp Make `createitem inspect` consistent for PLANT_GROWTH items 2020-10-09 12:45:49 -04:00
cursecheck.cpp cursecheck: Fix werecreature detection 2020-02-15 17:09:18 -05:00
cxxrandom.cpp update structures; fix some minor compile warnings 2020-02-05 12:35:43 -06:00
debug.cpp fix some warnings 2020-02-10 19:35:17 -06:00
deramp.cpp Add designation job check to deramp 2018-06-20 15:54:31 +03:00
dfstream.cpp Replace translate_socket_error() implementations with DescribeError() 2015-10-03 10:37:48 -04:00
dig.cpp Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
digFlood.cpp add missing `\n` in digFlood's example 2020-12-31 13:47:02 +01:00
dwarfmonitor.cpp dwarfmonitor prefs: fix segfault if item_subtype is null for some item types 2020-10-11 20:45:56 -04:00
dwarfvet.cpp dwarfvet: remove console spam when plugin is enabled but no hospitals exist 2021-03-07 14:59:41 -06:00
embark-tools.cpp Fix unlikely memory leaks if Screen::show fails 2018-06-19 16:41:31 +03:00
eventful.cpp Update structures, fix reaction_productst::produce() parms 2020-06-23 13:31:27 -06:00
fastdwarf.cpp Fix fastdwarf warning 2021-03-25 17:20:33 -04:00
filltraffic.cpp Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
fix-armory.cpp Merge ui_area_map_width into ui_menu_width, now a 2-byte array 2017-12-03 20:34:59 -06:00
fix-unit-occupancy.cpp fix-unit-occupancy, autogems: stop running while embarking 2018-06-21 16:16:54 -04:00
fixveins.cpp Replace many includes with forward declarations in modules/Maps.h 2016-08-13 21:44:01 -04:00
flows.cpp Update remaining plugins to use REQUIRE_GLOBAL 2014-12-06 19:30:05 -05:00
follow.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
forceequip.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
fortplan.cpp fix syntax error 2021-02-18 23:25:21 -08:00
generated-creature-renamer.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
getplants.cpp getplants: fix crash when world_object_data is not present for certain blocks 2020-09-20 01:24:46 -04:00
hotkeys.cpp Fix unlikely memory leaks if Screen::show fails 2018-06-19 16:41:31 +03:00
infiniteSky.cpp Shorten "ls" help for plugins 2016-04-15 16:28:41 +10:00
isoworldremote.cpp Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
jobutils.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
lair.cpp Replace many includes with forward declarations in modules/Maps.h 2016-08-13 21:44:01 -04:00
liquids.cpp Allow canceling lineedit with ctrl+c 2018-07-04 15:21:25 +03:00
listcolumn.h Expose to_search_normalized to Lua, add test, and use in ListColumn (most useful for the `stocks` plugin) 2020-10-10 01:40:00 -04:00
luasocket.cpp Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
manipulator.cpp move alchemist-enabling logic to autohauler 2021-02-06 14:14:08 -08:00
map-render.cpp Update map-render.cpp 2018-12-06 15:21:19 +02:00
misery.cpp Adapted to changed Units functions 2018-06-14 10:30:35 -04:00
mode.cpp Allow canceling lineedit with ctrl+c 2018-07-04 15:21:25 +03:00
mousequery.cpp mousequery: Fix some more instances of map boundary checks 2019-05-16 23:30:03 -04:00
nestboxes.cpp nestboxes: Use buildings.others[NEST_BOX] 2018-08-16 11:33:59 -05:00
orders.cpp don't crash on malformed orders json 2021-02-02 10:50:21 -08:00
pathable.cpp Add new "pathable" plugin 2017-07-05 23:54:55 -04:00
petcapRemover.cpp dead flag -> !isInactive 2018-06-14 12:33:18 +02:00
plants.cpp Replace many includes with forward declarations in modules/Maps.h 2016-08-13 21:44:01 -04:00
power-meter.cpp Replace many includes with forward declarations in modules/Maps.h 2016-08-13 21:44:01 -04:00
probe.cpp probe: print more designation and occupancy-related flags 2020-12-23 15:36:39 -05:00
prospector.cpp improved pre embark mineral estimates 2021-02-08 14:45:49 +01:00
regrass.cpp Fix whitespace issues 2015-02-14 22:53:06 -05:00
rename.cpp Update remaining plugins to use REQUIRE_GLOBAL 2014-12-06 19:30:05 -05:00
resume.cpp detect buildingplan buildings in the resume plugin 2020-11-13 12:43:46 -08:00
reveal.cpp revflood docs: clarify that constructed walls are ignored 2020-12-05 19:41:32 -05:00
search.cpp Also cancel 'k' search when hotkeys (F1 - Shift-F8) are pressed 2021-01-29 00:28:32 -05:00
seedwatch.cpp Remove extra log statement, reorder changelog 2021-01-30 18:08:17 -05:00
showmood.cpp Make df2console only call df2utf if the output stream is a console 2018-07-09 11:00:28 -04:00
siege-engine.cpp Remove and replace checks for OnBreak 2018-11-24 14:52:26 -05:00
sort.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
steam-engine.cpp Replace many includes with forward declarations in modules/Maps.h 2016-08-13 21:44:01 -04:00
stockflow.cpp update structures 2021-02-10 18:54:12 -06:00
stocks.cpp Merge remote-tracking branch 'PatrikLundell/stocks' into develop 2020-04-25 21:12:27 -04:00
strangemood.cpp adapted to changed df-structures enum value names 2021-03-05 12:45:51 +01:00
tailor.cpp Fix tailor plugin switch statement warnings (no functionality change) 2019-12-06 12:24:27 -06:00
tiletypes.cpp Allow canceling lineedit with ctrl+c 2018-07-04 15:21:25 +03:00
title-folder.cpp Don't print an error about not being able to get the SDL title in text mode. 2020-01-15 16:07:41 -06:00
title-version.cpp Add support for DFHACK_BUILD_ID 2018-07-11 11:47:55 -04:00
trackstop.cpp Add "DFHack" indicator to trackstop menus 2015-02-17 14:13:53 -05:00
tubefill.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
uicommon.h prep buildingplan for core algorithm changes 2020-10-16 13:52:23 -07:00
versionosd.cpp Tweaks! 2012-03-29 18:37:22 +02:00
workNow.cpp Shorten "ls" help for plugins 2016-04-15 16:28:41 +10:00
workflow.cpp match capitalization changes I made to df-structures in specific_ref 2020-04-15 20:05:15 -05:00
xlsxreader.cpp Fix warning (#1796) 2021-03-27 00:11:50 -04:00
zone.cpp zone: stop enumnick from taking priority over assign/unassign/slaughter 2020-11-15 22:21:46 -05:00