PathCompactPath
Moderator: Rathinagiri
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
PathCompactPath
Yes, you're right. Thank you.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Re: PathCompactPath
Done. Two versions: one in C, second in HMG.
Please compare them.
Please compare them.
- Attachments
-
- PathCompact.png (18.33 KiB) Viewed 3810 times
-
- PathCompact.zip
- (4.18 KiB) Downloaded 222 times
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
PathCompactPath
Perfect !!
Quite same speed (little time difference) when executing both.
PathCompact_C seems faster, but for really.
Just FYI, I have seen your hbp files Krzysztof and the proper way should be:
PathCompact_C.prg
or
PathCompact_HMG.prg
And in hbc files like this:
libs=shlwapi
When we want to compile by IDE and Build.bat in HMG.
I is really good.
I will not need to make automatic lenght. Because the example item "Compact path to control width" serves the same purpose.
Thank you very much Krzysztof. You're so kind and also competent.
Quite same speed (little time difference) when executing both.
PathCompact_C seems faster, but for really.
Just FYI, I have seen your hbp files Krzysztof and the proper way should be:
PathCompact_C.prg
or
PathCompact_HMG.prg
And in hbc files like this:
libs=shlwapi
When we want to compile by IDE and Build.bat in HMG.
I is really good.
I will not need to make automatic lenght. Because the example item "Compact path to control width" serves the same purpose.
Thank you very much Krzysztof. You're so kind and also competent.
Last edited by Pablo César on Mon Jan 16, 2017 11:05 pm, edited 1 time in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Re: PathCompactPath
Try provided below speed test.Pablo César wrote: ↑Sun Jan 15, 2017 9:42 pm Quite same speed (little time differance) when executing both.
It compares the functions that perform the same operations.
- Attachments
-
- SpeedTest.png (10.19 KiB) Viewed 3756 times
-
- SpeedTest.zip
- (1.6 KiB) Downloaded 203 times
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
PathCompactPath
Ohhh my Jesus Krzysztof !
So big difference !
I know it was faster...Pablo César wrote: ↑Sun Jan 15, 2017 9:42 pm Quite same speed (little time differance) when executing both.
But not how it much...
Thank you man !
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: PathCompactPath
Very nice KDJ.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.