Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [lookup]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

Design Question: Compression with Fast Lookup

I have a multiple files (one per CountryCode) which all get ~5000 entries added to it per day. Each entry in the file looks like (256chars max): {countryCode_customerId:{"ownerId": "...
sync101's user avatar
0 votes
1 answer

Best way to lookup cities/provinces and regions

I have a multi-language web site. On the web site, users can search products and services by geographic areas. I am asking which is best approach to performs search of geographic areas. In this ...
Simone's user avatar
  • 127
1 vote
1 answer

Multilingual reference/lookup tables and reference tables with enums

I will use the reference tables for the first time so I have some questions about it. Example Table ------------------------ id | description | ------------------------ 1 | Some description1 |...
mnesimi's user avatar
  • 21
0 votes
2 answers

Lookup code tables in DDD

I'm curious on the best way to handle lookup-type codes that can be shared across bounded contexts. For instance, state codes, or business-specific type codes that might be used in more than one ...
user1560457's user avatar
0 votes
0 answers

Reverse lookup of data based on user input

I have an array in the format: $array = array( 0 => array( 'name' => 'Item 1', 'level' => 1, 'points' => 10 ), 1 => array( 'name' => '...
Kobus Myburgh's user avatar
4 votes
3 answers

Is this a good solution for deactivating key value pairs?

A (relatively) simple CRUD application on which I work has a lookup table which holds key-value pairs, some of which have child key-value pairs. These are used mainly in drop-down lists on the ...
atamata's user avatar
  • 141
4 votes
2 answers

Is there a key/key lookup table type provided in .NET?

It seems like a pretty straightforward thing to add, but I just want to be sure .NET doesn't already provide one and save me from adding unnecessary code: I need a lookup table (like a Dictionary) ...
Jarryd Le Breton's user avatar
-3 votes
2 answers

Integer Map Algorithm [closed]

For my project, I need to map integers so that inputting int X will output int Y where both X and Y are defined during runtime. I've used Dictionary<int,int> in .NET but its memory use is too ...
JPtheK9's user avatar
  • 199
1 vote
3 answers

Why should I use lookup tables at all?

This question confirmed, what I was already aware of -- instead of directly storing strings in table, I should rather use integers or enums and join them with lookup table, to get, as a result, string,...
trejder's user avatar
  • 2,396
0 votes
1 answer

Any good data structure to perform efficient lookup and modification operations about what are the shapes containing the current cursor position

I think I'm facing a pretty common issue but cannot remember which solution is the most suitable one. Let's put it that way: I can, in a, certain, given, language get some events anytime the user is ...
Natalie Perret's user avatar
-1 votes
1 answer

Can someone please explain reverse look up tables? [closed]

Im finding it difficult to understand reverse look up tables and how it works, and the concept of hash chains. This is apart of a computer security model i am taking. So i understand that brute force, ...
John's user avatar
  • 3
1 vote
1 answer

Best practices for lookup tables in the application - by id or value

I have a complex database application. There are a lot of lookup tables containing a few values, in particular one contains pass / fail / waiting / unknown. In the application I find many of the ...
wobbily_col's user avatar
  • 1,881