search is copying data
Status: Pre-Alpha
Brought to you by:
ctriebel
The current search mechanism makes a copy of the page data that it is searching. This is inefficient, unnecessary, and probably creates a problem in any future security considerations.
My idea is to wrapper a reference to the searched data in an object that allows easy access to the data without making a copy. The side effect will hopefully be that the reverse search can also be implemented relatively easily without having to modify the search algorithm itself.