Search found 240 matches

by Lost Zergling
Jun 01, 2019 0:07
Forum: Beginners
Topic: Speed of pointers ?
Replies: 9
Views: 1559

Re: Speed of pointers ?

@MrSwiss : you are right. fxm provided me an exemple using Type-Ptr (https://www.freebasic.net/forum/viewtopic.php?f=17&t=27606&start=70), I need to experiment it. At first sight leads to udt.ArrayAccess[Datatype] vs Select Case As Const Datatype. @caseih : I'm trying to do (or study the fea...
by Lost Zergling
May 31, 2019 15:22
Forum: Beginners
Topic: Speed of pointers ?
Replies: 9
Views: 1559

Re: Speed of pointers ?

I see, nice information, thanks. But what I can do for pointers I can't for values. I don't see a simple syntax avoiding select case for this one : Property ArrayExtension.Value As String Select Case As Const Datatype Case 1 : Return *Str_StepPtr Case 2 : Return Str(*Int_StepPtr) Case 3 : Return Str...
by Lost Zergling
May 31, 2019 12:25
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 12202

Re: New array features

@fxm : ouch! ;-) I'll study that one !..
by Lost Zergling
May 31, 2019 9:33
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 12202

Re: New array features

I deviate a little from the original subject. What could be useful to some users? What I missed to optimize my simple and easy way code is a "Variant" type (I got it in my old Basic): if Any Ptr could inherit on demand and semi-persistently caracteristics of any other pointer type this wou...
by Lost Zergling
May 30, 2019 22:56
Forum: Beginners
Topic: Speed of pointers ?
Replies: 9
Views: 1559

Speed of pointers ?

This a question about speed, related to internal pointer calculus by the compiler, if I consider the code below (testing) : dim titi as any Ptr dim toto as string Ptr dim tutu(1) as string tutu(0) ="T0" tutu(1) ="T1" toto=@tutu(0) Print *toto Swap titi, toto Print *CPtr( string P...
by Lost Zergling
May 30, 2019 12:47
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 12202

Re: New array features

I did some very few test yesterday before posting with any Ptr and VarPtr and they were unsuccessful. I don't bother overloading or static (in the context). A way (faster) to get rid of theses ugly select in parsers avoiding macros would interest me. However, I did not go very far in my investigatio...
by Lost Zergling
May 29, 2019 18:38
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 12202

Re: New array features

Well, I'm going on something done quickly today, it's not functional, it's just a first translation in TypeDef what could give my way of seeing the thing, with my own technical limits of course. It's a little more concrete and it allows to clarify a little even if there is still a lot of technical w...
by Lost Zergling
May 28, 2019 20:16
Forum: General
Topic: Change string to ordered index ?
Replies: 22
Views: 1023

Re: Change string to ordered index ?

Hum. Could you ignore I was reffering LZLE and not FBC. Missunderstandings, must be.
A Zergling ? Royal Blood ? Who knows...
by Lost Zergling
May 28, 2019 19:52
Forum: General
Topic: Change string to ordered index ?
Replies: 22
Views: 1023

Re: Change string to ordered index ?

MrSwiss, 1. There was indeed a Beta 0.991 (not archived) (there is no Beta 1.00 yet, therefore there was an Alpha 1.00) 2. I do not pretend the SizeOf(Integer) is same in 32 & 64, just it is transparent to user in the intended use of the software The tool has been designed to prevent programmer ...
by Lost Zergling
May 28, 2019 18:44
Forum: General
Topic: Change string to ordered index ?
Replies: 22
Views: 1023

Re: Change string to ordered index ?

NOTE & precision : Till 0.991 release, the actual source of a bug that was incorrectly corrected by the change from Integer to uLong and that induces a different operation in 32 and 64 bits had been identified: it was actually an overrun on a zstring ptr . The move from Integer to uLong did not...
by Lost Zergling
May 27, 2019 18:21
Forum: General
Topic: Change string to ordered index ?
Replies: 22
Views: 1023

Re: Change string to ordered index ?

Almost all the features added so far were thought of at the design stage, which explains their integration. Neither the manipulation nor the complexity of the basic instruction set has been impacted. On the other hand, the more advanced functionalities add a complexity of use which is related to the...
by Lost Zergling
May 27, 2019 14:53
Forum: General
Topic: Change string to ordered index ?
Replies: 22
Views: 1023

Re: Change string to ordered index ?

Ok, got it. Tool originally designed to work with strings, not UDT as records and Integer were almost designed for internal countdown (or pointers casting,.., afterward) better than for datas. Indeed ,you're right till you consider udt as 'records', integer in types should be turned to uLong, (if so...
by Lost Zergling
May 27, 2019 14:16
Forum: General
Topic: Change string to ordered index ?
Replies: 22
Views: 1023

Re: Change string to ordered index ?

@MrSwiss : you mean for binary files ? (or non ascii)
by Lost Zergling
May 27, 2019 11:08
Forum: General
Topic: Change string to ordered index ?
Replies: 22
Views: 1023

Re: Change string to ordered index ?

Hello ppf. Consider this one https://www.freebasic.net/forum/viewtopic.php?f=8&t=26533 (adapted for larger data sets, 5000 entries+) One exemple here https://www.freebasic.net/forum/viewtopic.php?f=2&t=27568&p=261028#p261028 Some few documentation here : https://www.freebasic.net/forum/v...
by Lost Zergling
May 26, 2019 13:40
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 12202

Re: New array features

@Tourist Trap. There are several severe technical difficulties to foresee: how to standardize the access to the data of the table? What syntax for functions? How to run the same syntax on different types of data without having to include a micro-runtime? And so on. In the case of an instruction set ...

Go to advanced search