Skip to content

Conversation

@peterschrammel
Copy link
Member

No description provided.

String tmp = this.toString();
CProverString.delete(this, 0, size);
for (int i=size-1; i>=0; --i) {
this.append(CProverString.charAt(tmp, i));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 this will create a lot of intermediary strings which could be avoided using one nondetString and then assume on each character, but otherwise it looks fine.

@peterschrammel peterschrammel merged commit 06052cb into master Jun 9, 2019
@peterschrammel peterschrammel deleted the string-buffer-reverse branch June 9, 2019 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants