| View previous topic :: View next topic |
| Author |
Message |
experts Voice
Joined: 18 Jun 2007 Posts: 4
|
Posted: Tue Jun 19, 2007 3:36 am Post subject: Heavy duty Base64 decoding. |
|
|
Hi guys,
I need to decode a lot of base64 encoded messages. Something to the order of 70 per second.
I heard that it would be better writing a c module to do the decoding rather than decode purely using a tcl script.
Is this true? |
|
| Back to top |
|
 |
r0t3n Owner
Joined: 31 May 2005 Posts: 507 Location: UK
|
Posted: Tue Jun 19, 2007 6:54 am Post subject: |
|
|
top level C code is faster and more effective than TCL, so yes i would agree C is better for this kind of job. _________________ r0t3n @ #r0t3n @ Quakenet |
|
| Back to top |
|
 |
experts Voice
Joined: 18 Jun 2007 Posts: 4
|
Posted: Tue Sep 04, 2007 1:20 am Post subject: |
|
|
Heyz, thanks for the info.
Do you know a very basic C module written for eggdrop scripts?
I am not so sure on the interfacing.
I am more used to coding in C for mirc.
Would appreciate any help pointing me to a guide or an example on how to write a C module for tcl scripts.
As for the base 64 encoding and decoding part. that is not a prob. I just need the interfacing format.
Thanks! |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Sep 04, 2007 8:52 am Post subject: |
|
|
| Quote: | #### WOOBIE MODULE ####
# This is for demonstrative purposes only. If you are looking for starting
# point in writing modules, woobie is the right thing.
#loadmodule woobie |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
user

Joined: 18 Mar 2003 Posts: 1452 Location: Norway
|
|
| Back to top |
|
 |
|