[ScintillaNET] Config Data.

  • From: "Garrett Serack" <Garrett_Serack@xxxxxx>
  • To: <ScintillaNET@xxxxxxxxxxxxx>
  • Date: Tue, 10 Aug 2004 09:24:40 -0600

Ok, I ran some tests, and I've come to a few conclusions.

First of all, Yikes! 

I took the ScConfig data and binary serialized it, and it still comes to 421K, 
so the simple answer aint' the good one.

I'm really commited to providing a universal coloring system, with languge 
templates already setup, so I'm not going to abandon this, but now I may 
rethink how the configuration data is stored/edited.

When I bzip'd the binary it came out to 99k, which tells me that there is far 
too much redundancy in the content itself. It's storing every copy of the style 
name strings and whatnot, so I think that if I work on some internal 
abstraction I should be able to drop the requirements down quite a bit.  The 
impact of that is that it will have to load the XML and turn it into an 
internal format to work, but we shouldn't lose and functionality.

That, and I think I'll toss in some quick and dirty compression for large text 
resources (like language samples).

Anyway, this all means that the config stuff is a bit farther off than I'd 
hoped, but I'll concentrate on getting the other stuff in right away 
(find/replace,etc) and put out a new build asap, and then I'll refocus on the 
config stuff, and integrate it into the same assembly as the rest of the stuff.

That way, eventually, the footprint for ScintillaNET should be the 
SciLexer.dll[275k] and the ScintillaNET.dll[250k~300k] for a total of 550ish K. 
The user's custom color choices will get saved in their profile directory, and 
should be less than 10k of user-editable XML.

Garrett





------------------------------ IMPORTANT NOTICE - AVIS IMPORTANT 
------------------------------
Computer viruses can be transmitted via email. Recipient should check this 
email and any attachments for the presence of viruses. Sender and sender 
company accept no liability for any damage caused by any virus transmitted by 
this email.
This email transmission and any accompanying attachments contain confidential 
information intended only for the use of the individual or entity named above.  
Any dissemination, distribution, copying or action taken in reliance on the 
contents of this email by anyone other than the intended recipient is strictly 
prohibited.  If you have received this email in error please immediately delete 
it and  notify sender at the above email address.

Le courrier electronique peut etre porteur de virus informatiques.  Le 
destinataire doit donc passer le present courriel et les pieces qui y sont 
jointes au detecteur de virus.  L' expediteur et son employeur declinent toute 
responsabilite pour les dommages causes par un virus contenu dans le courriel.
Le present message et les pieces qui y sont jointes contiennent des 
renseignements confidentiels destines uniquement a la personne ou a l' 
organisme nomme ci-dessus.  Toute diffusion, distribution, reproduction ou 
utilisation comme reference du contenu du message par une autre personne que le 
destinataire est formellement interdite.  Si vous avez recu ce courriel par 
erreur, veuillez le detruire immediatement et en informer l' expediteur a l' 
adresse ci-dessus.
------------------------------ IMPORTANT NOTICE - AVIS IMPORTANT 
------------------------------
--------------------------------------------------------------------------
ScintillaNET Mailing List: ScintillaNET@xxxxxxxxxxxxx

    To unsubscribe: Send an email to scintillanet-request@xxxxxxxxxxxxx
    and put "unsubscribe" (without the quotes) in the Subject line.

    Web Page: http://tinyurl.com/yvoh2

Other related posts: