Menu

#6 search is copying data

v0.5
open
nobody
7
2009-11-07
2009-11-07
No

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.

Discussion


Log in to post a comment.