acmpesuecc / SmartGC

A smart garbage collector for C
MIT License
0 stars 8 forks source link

Same variable name, different scopes #5

Closed tejas-techstack closed 1 week ago

tejas-techstack commented 1 week ago

As of right now if two variables with the same name are allocated in different scopes (say one in main function and another in a different function) , then only one reference is stored.

This can be solved by keeping track of the variables by using a hash map rather than using the variable names to keep track of the references.

bunsamosa-bot[bot] commented 1 week ago

Thank you for opening this issue! A Maintainer will review it soon!

sampada115 commented 1 week ago

can you please assign me this

tejas-techstack commented 1 week ago

!assign @sampada115 60

tejas-techstack commented 1 week ago

alright im assigning you @sampada115 i will be giving you 1 hr as of now, based on your progress we shall extend the time if needed

sampada115 commented 1 week ago

dinnerrrr timmmeee

tejas-techstack commented 1 week ago

!extend 60

bunsamosa-bot[bot] commented 1 week ago

Extended timer by 30

tejas-techstack commented 1 week ago

i hope you are working on this

sampada115 commented 1 week ago

yes

sampada115 commented 1 week ago

till when do i have time?

tejas-techstack commented 1 week ago

i cant say for sure but you have another 30 minutes left as of now

tejas-techstack commented 1 week ago

do you have any progress, if you can show me some progress time can be extended

sampada115 commented 1 week ago

i have submitted can you check one

tejas-techstack commented 1 week ago

i donot see the pull request, are you sure u created the pull request properly?

sampada115 commented 1 week ago

i pushed the request and it showed me my username pushed time ago i asked someone for help and he said to wait for the mentor to check

tejas-techstack commented 1 week ago

which room and row are you sitting in?

tejas-techstack commented 1 week ago

or else if its easier come to room 001

sampada115 commented 1 week ago

sem hall 1 5th row from the door

sampada115 commented 1 week ago

i'll come

tejas-techstack commented 1 week ago

@sampada115 please check the comment in the pr

tejas-techstack commented 1 week ago

!deassign

AkshayaR11 commented 1 week ago

can i get this assigned to me?

tejas-techstack commented 1 week ago

before i assign, are you using linux or windows system @AkshayaR11

AkshayaR11 commented 1 week ago

windows

tejas-techstack commented 1 week ago

im sorry you will not actually be able to run the program, if you are ready to figure out a way to run it on windows i shall assign the issue, if you dont want to i shall not assign

AkshayaR11 commented 1 week ago

Oh in that case dont assign it to me

VulcanRaven737 commented 1 week ago

Hey can I get this assigned please?

tejas-techstack commented 1 week ago

!assign @VulcanRaven737 60

VulcanRaven737 commented 1 week ago

Kindly have a look at the PR @tejas-techstack

tejas-techstack commented 1 week ago

!deassign