mirror of
https://github.com/mist64/perfect6502.git
synced 2024-12-28 11:31:50 +00:00
moved bitmaps to chars
This commit is contained in:
parent
197b15cdff
commit
65186a75bd
@ -122,7 +122,8 @@ printarray(int *array, int count)
|
||||
|
||||
int group[NODES];
|
||||
int groupcount;
|
||||
int groupbitmap[NODES];
|
||||
//int groupbitmap[NODES/sizeof(int)];
|
||||
char groupbitmap[NODES];
|
||||
|
||||
BOOL
|
||||
arrayContains(int el)
|
||||
@ -137,13 +138,14 @@ arrayContains(int el)
|
||||
return NO;
|
||||
#else
|
||||
return groupbitmap[el];
|
||||
// return (groupbitmap[el>>5] >> (el & 31)) & 1;
|
||||
#endif
|
||||
}
|
||||
|
||||
typedef struct {
|
||||
int *list;
|
||||
int count;
|
||||
int *bitmap;
|
||||
char *bitmap;
|
||||
} list_t;
|
||||
|
||||
list_t recalc;
|
||||
|
Loading…
Reference in New Issue
Block a user