Limnoria/plugins
Valentin Lorentz 4da1291876 URL: Lazily deserialize records from the end in @last
Before this commit, the plugin first fetched a list of all
(deserialized) records in a list, then reversed the list, and iterated
on the reverse list.
This proved to be slow, with most of the time being spent in
`dbi.DB._newRecord` (which essentially deserializes one list of CSV).

After this commit, the list is reversed first, then the plugin iterates
on its generator, which calls `_newRecord` on records as they are
requested.

This means that when there are many URLs in the database, `@last` does
not need to waste time deserializing most records, when the result is
near the end (and if the result is the first record, then it does
exactly as much work as before).
2022-10-30 20:46:35 +01:00
..
Admin all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Aka Aka, Alias: replace obsolete LastFM example 2022-07-09 14:15:57 -07:00
Alias Aka, Alias: replace obsolete LastFM example 2022-07-09 14:15:57 -07:00
Anonymous all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Autocomplete Autocomplete, Fediverse, Geography, Poll: Run Black 2022-07-20 17:53:09 +02:00
AutoMode AutoMode: Fix crash on servers without ISUPPORT PREFIX 2022-04-16 12:05:43 +02:00
BadWords Add ability to exclude channel from self censoring (#1508) 2022-06-17 16:44:12 +02:00
Channel add conditional to respond acc to kick being true or not (#1512) 2022-07-13 21:02:28 +02:00
ChannelLogger all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
ChannelStats all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Conditional all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Config registry: Normalize values before checking they are valid 2022-09-07 12:31:22 +02:00
Ctcp Ctcp: Fix 'RuntimeError: dictionary changed size during iteration' 2022-08-06 15:09:10 +02:00
DDG all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Debug all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Dict all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Dunno all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Factoids all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Fediverse Fediverse: run black 2022-07-30 21:23:10 +02:00
Filter all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Format all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Games all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Geography Autocomplete, Fediverse, Geography, Poll: Run Black 2022-07-20 17:53:09 +02:00
Google all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
GPG all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Hashes all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Herald all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Internet all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Karma Ensure files written with AtomicFile are read in UTF8 2022-10-06 09:49:42 +02:00
Lart all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Later all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Limiter all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
LogToIrc all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Math Math: make @icalc fail early when result is too large 2022-09-18 20:06:34 +02:00
MessageParser MessageParser: Ignore chathistory batches 2022-08-16 00:23:33 +02:00
Misc Misc: Make @last handle --regexp in a single process for all messages 2022-02-16 21:27:28 +01:00
MoobotFactoids for #1490 extend usage examples 2022-07-13 08:56:30 +02:00
Network all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
News all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
NickAuth all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
NickCapture all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Nickometer all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Note all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Owner callbacks: Ignore chathistory batches in PluginRegexp 2022-07-06 22:07:37 +02:00
Plugin all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
PluginDownloader PluginDownloader: replace automatic 2to3 step with a simple warning 2022-06-23 22:31:17 +02:00
Poll Poll: Make answers case-insensitive 2022-09-18 19:25:48 +02:00
Praise all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Protector Sort remaining nondeterministc sets of values 2022-10-20 18:35:58 +02:00
Quote all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
QuoteGrabs all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Relay Sort remaining nondeterministc sets of values 2022-10-20 18:35:58 +02:00
Reply all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
RSS RSS: Don't crash on invalid variable name 2022-10-28 22:41:43 +02:00
Scheduler all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
SedRegex all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Seen all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Services Sort remaining nondeterministc sets of values 2022-10-20 18:35:58 +02:00
ShrinkUrl all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Status all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
String String: allow multi-character inputs in "ord" and "unicodename" 2022-10-06 08:31:22 +02:00
Success all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Time Time: Fix typo 2022-08-06 15:08:51 +02:00
Todo all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Topic all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Unix all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
URL URL: Lazily deserialize records from the end in @last 2022-10-30 20:46:35 +01:00
User User: Sort output of @capabilities 2022-10-13 21:46:50 +02:00
Utilities all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
Web Web: Allow configuring higher peekSize on Youtube 2022-10-28 14:18:52 +02:00
__init__.py Update capitalization of my Github username 2021-09-14 20:30:47 +02:00
messages.pot update messages.pot files && Unix: update l10n-fi. 2014-03-22 12:22:54 +02:00