SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 22/11/2017, 10:29 AM   #1
BigETI
Banned
 
Join Date: Mar 2010
Location: Germany
Posts: 1,060
Reputation: 359
Default Hash-map implementation in PAWN

Hash-map implementation in PAWN


Description
This is a map data structure implementation in PAWN using binary search tree.


Project
The source code and documentation are located at GitHub: https://github.com/BigETI/pawn-map
BigETI is offline   Reply With Quote
Old 21/11/2018, 05:47 PM   #2
CantBeJohn
Big Clucker
 
CantBeJohn's Avatar
 
Join Date: Oct 2016
Posts: 107
Reputation: 15
Default Re: Hash-map implementation in PAWN

I've been using this for a while now and found it quite useful. Never noticed how this seemingly got no attention (despite the fact I'm sure I'm not the only one who has put this to use) and figured I'd bump it in case someone was looking for something like this and might have missed it.

Anyways, thanks.
__________________
Server IP: play.adh-rp.com
Alternate IP: 54.37.129.82:7777

CantBeJohn is offline   Reply With Quote
Old 21/11/2018, 09:13 PM   #3
PT
Godfather
 
PT's Avatar
 
Join Date: Nov 2012
Location: Portugal
Posts: 7,161
Reputation: 780
Default Re: Hash-map implementation in PAWN

Add code examples for more persons understand what is

Nice job
__________________
"Quem caiu e se levantou honrado era e honrado ficou..."


CVU vai voltar e.e


http://steamcommunity.com/id/pt_player/
PT is offline   Reply With Quote
Old 21/11/2018, 09:21 PM   #4
Dayrion
High-roller
 
Dayrion's Avatar
 
Join Date: Jan 2016
Location: France
Posts: 1,923
Reputation: 258
Default Re: Hash-map implementation in PAWN

This is an implementation of simple linked list in pawn? O:
__________________
actor_plus - v5.0.2
« I'm a goner, somebody catch my breath,
I'm a goner, somebody catch my breath »
Dayrion is offline   Reply With Quote
Old 21/11/2018, 09:44 PM   #5
BigETI
Banned
 
Join Date: Mar 2010
Location: Germany
Posts: 1,060
Reputation: 359
Default Re: Hash-map implementation in PAWN

A map data structure (binary search tree) is not a linked list.
BigETI is offline   Reply With Quote
Old 21/11/2018, 11:19 PM   #6
CantBeJohn
Big Clucker
 
CantBeJohn's Avatar
 
Join Date: Oct 2016
Posts: 107
Reputation: 15
Default Re: Hash-map implementation in PAWN

Quote:
Originally Posted by PT View Post
Add code examples for more persons understand what is

Nice job
If you check the wiki (https://github.com/BigETI/pawn-map/wiki) there's an example for every function.
__________________
Server IP: play.adh-rp.com
Alternate IP: 54.37.129.82:7777

CantBeJohn is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Include] Linked list implementation in PAWN BigETI Includes 6 03/05/2018 05:42 PM
[Pedido] Hash PAWN/PHP pWesley Português/Portuguese 4 19/02/2017 10:19 PM
Hash problem(php/pawn) MattSlater Scripting Help 1 21/01/2013 03:35 PM
adler32 PAWN hash does not match PHP hash Chris. Scripting Help 4 21/02/2012 04:57 PM
Different results for PHP/Pawn Adler32 hash Peppe95 Scripting Help 6 19/11/2011 07:56 PM


All times are GMT. The time now is 03:54 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.