https://bugzilla.wikimedia.org/show_bug.cgi?id=54482

       Web browser: ---
            Bug ID: 54482
           Summary: a new key for faster search mw.title.new()
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Scribunto
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

In scribunto, a call to mw.title.new("page name") is very expensive.

I'm not sure, but it may be a way to accelerate: calculating a key on a 64-bit
integer, like a CRC, from the name of the page, and creating an index on that
key.

Because there may be duplicates on this key, it would lead to a short table of
some pages, fast to manage.

Perhaps we could include versions in the CRC.
And even wiki-name ?

Overall, we would change a heavy search to a fast search.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to