More on the “painless execution” question

What’s the real goal in an execution anyway?