PureBasic 5.50 final is out !
Re: PureBasic 5.50 beta 1 is out
B64 on PB works worry free !
Last edited by walbus on Sun Jun 26, 2016 9:50 am, edited 3 times in total.
Re: PureBasic 5.50 beta 1 is out
Allocation and copy will probably not matter compared to the decode/encode operation. You shouldn't worry on such micro optimisation nowaday, modern OS provides extremly fast alloc and block copy operations.wilbert wrote:If you need to decode big attachments, you could build you own high speed decoder. The Base64 specification is not that complicated.Keya wrote:Im just wondering about a situation where for example i read a full .EML file with its base64-encoded attachments into an AllocateMemory(Lof(hFile)) buffer, and then use wilberts FindData module to quickly locate the position of each attachment in the buffer. If Base64Decoder expects a string I would need to make a str=PeekS copy from the buffer? wouldnt be good with large attachments (slower + duplicated memory), especially with base64 sizes being +33% ?
For small attachments, the impact on memory and speed probably isn't that big.
-
- Addict
- Posts: 4527
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: PureBasic 5.50 beta 1 is out
I see. That would make Base64 encoding and decoding simpler.Fred wrote:Yes, that's it. It would be something like that:
Code: Select all
Result = Base64Decoder(Input$, *OutputBuffer, OutputSize) Result$ = Base64Encoder(*InputBuffer, InputSize [, Flags])
Re: PureBasic 5.50 beta 1 is out
My customers deserve the best though, I won't have them waiting extra time just for my app to make a duplicate copy of a large buffer just to convert it to a string type because i'm too unprofessional to use an existing buffer! but I understand if it will make use of the function easier for beginners albeit at the expense of flexibility, so I will look to use other base64 decode functions, i know there are fortunately several existing implementations PB'ers have posted over the years which probably already fit the bill so we're probably already spoiled for choice!Fred wrote:Allocation and copy will probably not matter compared to the decode/encode operation. You shouldn't worry on such micro optimisation nowaday, modern OS provides extremly fast alloc and block copy operations.
-
- Enthusiast
- Posts: 334
- Joined: Mon Feb 04, 2013 5:28 pm
Re: PureBasic 5.50 beta 1 is out
Awww, everyone selling a product should have a sign like that at the office and probably inside their fridge too.Keya wrote: My customers deserve the best though
Re: PureBasic 5.50 beta 1 is out
each to their own
- netmaestro
- PureBasic Bullfrog
- Posts: 8433
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Re: PureBasic 5.50 beta 1 is out
Some signs at one of my actual workplaces:
Our customers deserve the best - so what the hell are you doing here?
Prices subject to change according to your attitude
Here every day is free coffee tomorrow
No whining
Menu choices: You can take it or leave it
Our customers deserve the best - so what the hell are you doing here?
Prices subject to change according to your attitude
Here every day is free coffee tomorrow
No whining
Menu choices: You can take it or leave it
BERESHEIT
Re: PureBasic 5.50 beta 1 is out
Beta 2 is out ! It does includes a bunch of fixes and updated SQLite lib to 3.13.0.
Re: PureBasic 5.50 beta 1 is out
Great work! Thanks for the Mac OS X fixes!!!!Fred wrote:Beta 2 is out ! It does includes a bunch of fixes and updated SQLite lib to 3.13.0.
With Windows XP in Virtual Machine I get an error because the compiler could not be loaded....
This installation was copied as a zip archive to the Virtual Machine after installing and zipping on an other machine. I had never problems before with that routine....
Re: PureBasic 5.50 beta 2 is out
A new quick fix version has been pushed on the server. If you already downloaded before this post, please download it again, sorry for the inconvenience !
Re: PureBasic 5.50 beta 2 is out
Thanks for the SQLite update to latest v3.13.0
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: PureBasic 5.50 beta 2 is out
Fred, why does PB 5.50 create a folder in my Temp directory every time I compile/run??
I currently have 158 folders called "PureBasic#######"
They are only ~1 MB each, but it seems like extra clutter.
Running PB Win x86 on Win 7 x64
I currently have 158 folders called "PureBasic#######"
They are only ~1 MB each, but it seems like extra clutter.
Running PB Win x86 on Win 7 x64
Re: PureBasic 5.50 beta 2 is out
Same problem here with XP. The Temp directory is full of PB subfolders... and the "no compiler loaded" error in the virtual machine persists...kenmo wrote:Fred, why does PB 5.50 create a folder in my Temp directory every time I compile/run??
I currently have 158 folders called "PureBasic#######"
They are only ~1 MB each, but it seems like extra clutter.
Running PB Win x86 on Win 7 x64
- NoahPhense
- Addict
- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
Re: PureBasic 5.50 beta 2 is out
Hi Fred,Fred wrote:A new quick fix version has been pushed on the server. If you already downloaded before this post, please download it again, sorry for the inconvenience !
I just noticed this update and am reinstalling. I have subscribed to this thread as well. Is there where beta 3 will be "announced" as well? Or will it be a separate thread?
Cheers!
- np
Re: PureBasic 5.50 beta 2 is out
hi Fred,
thanks for All. I love to use PB at work or for my pleasure. But Pleeeeeeeeeeeeaaaaaaase ! Add Proxy support to http lib ! Some solution (curl or my own http include file) can't be used if we want to make a module.
Pity ! Pity ! Pity !
thanks for All. I love to use PB at work or for my pleasure. But Pleeeeeeeeeeeeaaaaaaase ! Add Proxy support to http lib ! Some solution (curl or my own http include file) can't be used if we want to make a module.
Pity ! Pity ! Pity !