Tomorrow Posted July 28, 2011 Report Share Posted July 28, 2011 (edited) I found that the Start/End captured text is kept in database even after user moves to use Regex or Textual. So it just sits there doing virtually nothing and bloting the database with unnesseseary space wasting. Expected behaviour would be to remove any Start/End matches after users sets up a working regex/textual variable and clicks ok to save app profile. The only way to get rid of this would be to manually remove any web address from the Start/End field prior to setting up regex/textual. If this behaviour is by desing then i would like a reason why and when this would be useful? Edited July 28, 2011 by Tomorrow Link to comment Share on other sites More sharing options...
floele Posted August 7, 2011 Report Share Posted August 7, 2011 Guess the reason is my laziness. I don't see a problem with a few wasted bytes actually. Link to comment Share on other sites More sharing options...
Tomorrow Posted August 7, 2011 Author Report Share Posted August 7, 2011 Ok if you have time in the future then perhaps fix it so that captured text would no longer be preserved? I guess few excess bytes do no harm but im the kind of guy who likes optimization so i can't really help myself Link to comment Share on other sites More sharing options...
Omniferum Posted August 7, 2011 Report Share Posted August 7, 2011 I don't see any need for this behavior to be changed, the only workable implementation would be 'clear on program exit'. But REALLY it is a negligible amount of data, it would only really have performance problems if you had a HUGE .db with something like 100mb worth of pointless data. In the end it really doesn't do any harm, if it bugs you so much you could just export all as .xml and mass replace the 'start/end' xml tags with nothing then re-import. Writing that as a batch script wouldn't be that hard Link to comment Share on other sites More sharing options...
Tomorrow Posted August 8, 2011 Author Report Share Posted August 8, 2011 I don't see any need for this behavior to be changed, the only workable implementation would be 'clear on program exit'. Initially i was under the impression that the start/end captured text was kept as a backup in case user decided to return from regex/textual but seems it's not. if it bugs you so much you could just export all as .xml and mass replace the 'start/end' xml tags with nothing then re-import. Writing that as a batch script wouldn't be that hard Unfortunately this is where i run into unimplemented feature that adds even more manual work for me. Link to comment Share on other sites More sharing options...
shawn Posted August 25, 2011 Report Share Posted August 25, 2011 Whether it's an *intended* feature or not, this has saved me quite a bit of time in the past when troubleshooting a regex pattern or on a site that requires alternate methods for different sources. I'd just as soon suffer with the "bloat" of a few extra kb of space in the jobs.db. Unless it's causing actual problems, I don't see how removing the data would help at all. Link to comment Share on other sites More sharing options...
Tomorrow Posted August 25, 2011 Author Report Share Posted August 25, 2011 Hopefully when the export feature is expanded i can do this manually.I already created N++ macro for it. Im the kind of guy who does these things even of gains are negligible Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now